<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<!--view层，模板-->
		<div id='app'>
			<span v-bind:title="message">dokidoki
			</span>
		</div>
		
		<!--导入vue.js-->
		<script src='https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js'></script>
		<script>
			var vm = new Vue({
				el: "#app",
				<!--model 数据-->
				data:{
					message: "hello,vue!"
				}
			})
		</script>
		
		<!--模板
		<div id="app">
			
		</div>
		
		<script src='https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js'></script>
		<script>
			var vm = new Vue({
				el: "#app",
				
			});
		</script>
		-->
	</body>
</html>
